﻿#include "DACore.h"
#include "DAAppRibbonArea.h"
DACore::DACore(QObject *p) : DACoreInterface(p)
{
}


DACore *DACore::getInstance()
{
    static DACore s_core;

    return (&s_core);
}


DAAppRibbonAreaInterface *DACore::getAppRibbonAreaInterface() const
{
    return (m_appRibbonArea);
}


void DACore::createAppRibbonArea(SARibbonMainWindow *mainwindow)
{
    m_appRibbonArea = new DAAppRibbonArea(mainwindow, this);
}
